package com.zw.stock_sell_storage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zw.stock_sell_storage.dto.PermissionDto;
import com.zw.stock_sell_storage.dto.RoleDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 权限mapper
 */
@Mapper
public interface PermissionMapper extends BaseMapper<PermissionDto> {
    List<PermissionDto> selectPermissionByUserId(@Param("roleList") List<RoleDto> roleList);
}
